Xbasic
SET.ZIP Function
Syntax
Result_Flag as L = Set.Zip(C setname [,C zipfilename [,C options]])
Arguments
- setnameCharacter
The set to put into the zip file. If the set is in the current database, it is not necessary to specify the full drive and path.
- zipfilename
Default = <Set_Name>.zip. The name of the zip file to create.
- optionsCharacter
Options is a string that can include one or more of the following flags:
- Option Flag
Meaning
- C
Compress (pack) the table before zipping.
- P
Display the "Zip Set" dialog box. If "P" not specified, the set is zipped without any user prompting.
- D
Include the data dictionary files.
- X
Include index file.
Description
Zip a set. Options "d" - include Dictionary, "x" - include Indexes, "p" - display prompt dialog, "c" - pack tables first.
Discussion
The SET.ZIP() method zips the components of a set into one file.
Example
? set.zip("Invoice", "c:\invoice.zip", "cd") = .T.
See Also